<%@ page language="java" pageEncoding="UTF-8"%>
<div ng-controller="ConfigEditController">
	<form role="form" callback="save" validate>
		<div class="form-group">
			<label>
				名称
			</label>
			<input type="text" name="name" class="form-control" ng-model="config.name" rule="required;"></input>
		</div>
		<div class="form-group">
			<label>
				值
			</label>
			<textarea type="text" name="value" class="form-control" style="height:150px;" ng-model="config.value" rule="required;"></textarea>
		</div>
		<button type="submit" class="btn btn-success btn-sm">
			<i class="glyphicon glyphicon-ok-circle"></i> 保存
		</button>
		<button type="button" class="btn btn-danger btn-sm" ng-click="cancel()">
			<i class="glyphicon glyphicon-remove-circle"></i> 取消
		</button>
	</form>
</div>